package com.design.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RecordInfoResponse {
    @ApiModelProperty(value = "记录id（删除记录时用）")
    private Integer id;
    @ApiModelProperty(value = "作业编号")
    private Integer batchId;
    @ApiModelProperty(value = "车头-车牌号")
    private String carNum;
    @ApiModelProperty(value = "车头-型号")
    private String carModel;
    @ApiModelProperty(value = "车头-生产商")
    private String carProducer;
    @ApiModelProperty(value = "车头-公司")
    private String carCompany;


    @ApiModelProperty(value = "车板-车板号")
    private String templateNum;
    @ApiModelProperty(value = "车板-生产商")
    private String templateProducer;
    @ApiModelProperty(value = "车板-公司")
    private String templateCompany;

    @ApiModelProperty(value = "集装箱-集装箱号")
    private String containerNum;
    @ApiModelProperty(value = "集装箱-型号")
    private String containerModel;
    @ApiModelProperty(value = "集装箱-生产商")
    private String containerProducer;
    @ApiModelProperty(value = "集装箱-尺寸")
    private String containerSize;

    @ApiModelProperty(value = "检查仪器编号")
    private String deviceNo;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检查时间")
    private Date updateTime;
    @ApiModelProperty(value = "阈值-总重量")
    private BigDecimal totalWeight;
    @ApiModelProperty(value = "阈值-前后偏载")
    private BigDecimal frontRear;
    @ApiModelProperty(value = "阈值-左右偏载")
    private BigDecimal leftRight;
    @ApiModelProperty(value = "总重量")
    private BigDecimal realTotalWeight;
    @ApiModelProperty(value = "前后偏载")
    private BigDecimal realFrontRear;
    @ApiModelProperty(value = "左右偏载")
    private BigDecimal realLeftRight;

    @ApiModelProperty(value = "传感器1重量")
    private BigDecimal weight1;

    @ApiModelProperty(value = "传感器2重量")
    private BigDecimal weight2;

    @ApiModelProperty(value = "传感器3重量")
    private BigDecimal weight3;

    @ApiModelProperty(value = "传感器4重量")
    private BigDecimal weight4;

    @ApiModelProperty(value = "传感器1连接情况(除了-1，其他都是正常)")
    private BigDecimal link1;

    @ApiModelProperty(value = "传感器2连接情况(除了-1，其他都是正常)")
    private BigDecimal link2;

    @ApiModelProperty(value = "传感器3连接情况(除了-1，其他都是正常)")
    private BigDecimal link3;

    @ApiModelProperty(value = "传感器4连接情况(除了-1，其他都是正常)")
    private BigDecimal link4;

    @ApiModelProperty(value = "前后偏载")
    private RecordFrontDetailsDTO frontDetailsDTO;

    @ApiModelProperty(value = "左右偏载")
    private RecordLeftDetailsDTO leftDetailsDTO;

    @ApiModelProperty(value = "总重量")
    private RecordTotalDetailsDTO totalDetailsDTO;
}
